package com.accp.service.impl;

import com.accp.pojo.Users;
import com.accp.repository.UserRepository;
import com.accp.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Title: chaoye
 *
 * @author 范康楷
 * @date 2018/6/5
 */
@Service
public class UsersServiceImpl implements UsersService{

    @Autowired
    private UserRepository userRepository;
    @Override
    public List<Users> getAll() {
        return userRepository.getAll();
    }
}
